<div id="user-profile-3" class="user-profile row-fluid">
									<div class="offset1 span10">
										
										<!-- <div class="well well-small">
											<button type="button" class="close" data-dismiss="alert">&times;</button>
											&nbsp;
											<div class="inline middle blue bigger-110"> Your profile is 70% complete </div>

											&nbsp; &nbsp; &nbsp;
											<div style="width:200px;" data-percent="70%" class="inline middle no-margin progress progress-success progress-striped active">
												<div class="bar" style="width:70%"></div>
											</div>
										</div><!/well--> 

										<div class="space"></div>

										<form class="form-horizontal" id='profile_form' />
											<div class="tabbable">
												<ul class="nav nav-tabs padding-16">
													<li class="active">
														<a data-toggle="tab" href="#edit-basic">
															<i class="green icon-edit bigger-125"></i>
															Basic Info
														</a>
													</li>

													<!-- <li>
														<a data-toggle="tab" href="#edit-settings">
															<i class="purple icon-cog bigger-125"></i>
															Settings
														</a>
													</li> -->

													<li>
														<a data-toggle="tab" href="#edit-password">
															<i class="blue icon-key bigger-125"></i>
															Password
														</a>
													</li>
												</ul>

												<div class="tab-content profile-edit-tab-content">
													<div id="edit-basic" class="tab-pane in active">
														
														<h4 class="header blue bolder smaller">Contact</h4>

														<div class="control-group">
															<label class="control-label" for="form-field-email">Company</label>

															<div class="controls">
																<span class="span12">
																	<input type="text" id="form-field-email" name='company' value="<?php echo $user['email'] ?>" />
																
																</span>
															</div>
														</div>
														<div class="control-group">
															<label class="control-label" for="form-field-email">Email</label>

															<div class="controls">
																<span class="input-icon input-icon-right">
																	<input type="email" id="form-field-email" name='name'  value="<?php echo $user['email'] ?>" />
																	<i class="icon-envelope"></i>
																</span>
															</div>
														</div>


														<div class="control-group">
															<label class="control-label" for="form-field-phone">Phone</label>

															<div class="controls">
																<span class="input-icon input-icon-right">
																	<input class="input-medium input-mask-phone" name='phone' type="text" id="form-field-phone" value="<?php                                                         echo $user['phone'] ?>" />
																	<i class="icon-phone icon-flip-horizontal"></i>
																</span>
															</div>
														</div>

														<div class="control-group">
															<label class="control-label" for="state">Country</label>

															<div class="controls">
																<span class="span12">
																	<select id="state" name="state" class="select2" onchange='make_cities(this.value)' data-placeholder="Click to Choose...">
																		<option value="0" >Click to Choose...</option>		
																		<?php 

																		   // $row = fetch_result("SELECT county_id, city_id FROM user WHERE session_user ='{$_SESSION['session_user']}'");

																			$row = $userObj->fetch_table('counties');
																			foreach ($row as $key => $value) { ?>
 																				<option value="<?php echo $value['id']; ?>" /><?php echo $value['name']; ?>	
																		<?php 
																			}
																		?>																						
																		
																	</select>
																</span>
															</div>
														</div>

														


														<div class="control-group">
															<label class="control-label" for="city">City</label>

															<div class="controls">
																<span class="span12">
																	<select id="city" name="city" class="select2 cities_wrapper" data-placeholder="Click to Choose...">
																		
																		<option value="0" >Choose a country first...</option>	
																				
																	</select>
																</span>
															</div>
														</div>

														<div class="control-group">
															<label class="control-label" for="form-field-comment">Address</label>

															<div class="controls">
																<textarea id="form-field-comment" name='address'><?php echo $user['address']; ?></textarea>
															</div>
														</div>														
													</div>


													<div id="edit-password" class="tab-pane">
														<div class="space-10"></div>

														<div class="control-group">
															<label class="control-label" for="form-field-pass1">New Password</label>

															<div class="controls">
																<input type="password" id="form-field-pass1" />
															</div>
														</div>

														<div class="control-group">
															<label class="control-label" for="form-field-pass2">Confirm Password</label>

															<div class="controls">
																<input type="password" id="form-field-pass2" />
															</div>
														</div>
													</div>
												</div>
											</div>

											<div class="form-actions">
												<button class="btn btn-info" type="button" onclick='save_profile();'>
													<i class="icon-ok bigger-110"></i>
													Save
												</button>

												&nbsp; &nbsp; &nbsp;
												<button class="btn" type="reset">
													<i class="icon-undo bigger-110"></i>
													Reset
												</button>
											</div>
										</form>
									</div><!--/span-->
								</div><!--/user-profile-->

